package com.mybatis.function.test.repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import com.mybatis.plugin.test.model.WmsJobStateIndex;

public interface SelectRepository {

	public List<WmsJobStateIndex> select(@Param("id") int id);
	
	public List<WmsJobStateIndex> selectList(@Param("list") List<Integer> ids);
	
	public List<WmsJobStateIndex> selectByParameterType(String orderSn);
	
	public List<Map<String, Object>> selectWMSOutHeader();
	
	public List<WmsJobStateIndex> selectByDate(@Param("createTime") Date date);
	
	@Select("select count(1) from wms_job_state_index")
	public Long selectCount();
}
